<extend name="Layout/ins_page" />
<block name="content">
    <link href="/sap/demo.css" rel="stylesheet" type="text/css" />
    <script src="/sap/scripts/boot.js" type="text/javascript"></script>
    <a href="/SapSupplier/doexportskuyuanfeng" target="_blank" >exportskuyuanfeng</a>
</block>
<block name="js">
    <script type="text/javascript">

        function exportExcelA(sku) {
            mini.confirm("确定？", "确定？",
                function (action) {
                    if (action == "ok") {

                        $.ajax({
                            url: "/SapSupplier/doexportskuyuanfeng",
                            type: "post",
                            data: {sku: sku},
                            dataType: 'json',
                            success: function (data) {
                                mini.alert(data.msg);
                            }
                        });
                    } else {

                    }
                }
            );

        }

        function exportExcelB(sku) {
            mini.open({
                url:  "/SapSupplier/doexportskuyuanfeng",
                title: "",
                width: 800,
                height: 380,
                ondestroy: function (action) {
                    if (action == "ok") {

                    }

                }
            });

        }

    </script>
</block>
